#pragma once
#include "afxcmn.h"
#if !defined(AFX_MYLISTCTRL_H__7FDA9396_E298_4F10_B778_EB8ADFD82F9A__INCLUDED_)
#define AFX_MYLISTCTRL_H__7FDA9396_E298_4F10_B778_EB8ADFD82F9A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyListCtrl.h : header file
//
#define IDC_MY_LIST_EDITBOX 0xffff
#define IDC_MY_LIST_COMBOX 0xfffe

#define MLSM_ITEMCHANGED (WM_USER + 200)
/////////////////////////////////////////////////////////////////////////////
// CMyListCtrl window


class CMyListCtrl : public CListCtrl
{
	// Construction
public:
	CMyListCtrl();

	// Attributes
public:
	// Operations
public:

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyListCtrl)
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

	// Implementation
public:
	virtual ~CMyListCtrl();

	// Generated message map functions
protected:
	CEdit m_EditItem;
	CComboBox m_ComboItem;
	int m_Row;
	int m_Col;

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//	afx_msg void OnNMClick(NMHDR *pNMHDR, LRESULT *pResult);
//	virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYLISTCTRL_H__7FDA9396_E298_4F10_B778_EB8ADFD82F9A__INCLUDED_)




